/**
 *   Created by XWang on 2018-06-20
 * */

let express = require('express');
let router = express.Router();
let product = require("../../app/controller/prod/product");


router.post('/list',product.product.list);                  //列表
router.post('/info',product.product.info);                  //详情
router.post('/add',product.product.add);                  //新建
router.post('/disable',product.product.disable);                  //禁用
router.post('/enable',product.product.enable);                  //启用
router.post('/update',product.product.update);                  //更新


module.exports = router;